package com.manlitech.cloudboot.shardingjdbc.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import org.joda.time.LocalDate;

/**
 * 用户信息
 * @author shensg
 * @date 2021/7/21 13:34
 */
@Data
@TableName(value = "user_info")
public class UserInfo {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String name;
    private String sex;
    private Integer age;
    private LocalDate createTime;
    private LocalDate updateTime;
    private Short status;
}

